from sympy import (
    S,
    I,
    Abs,
    Eq,
    Reals,
    Function,
    Symbol,
    nonlinsolve,
    simplify,
    solveset,
)
from sympy.core.symbol import _symbol
from sympy.core.relational import Relational, Equality
from sympy.core.expr import Expr
from sympy.core.function import expand
from sympy.core.add import Add
from sympy.core.numbers import RealNumber
from sympy.calculus.util import continuous_domain
from sympy.solvers.inequalities import solve_univariate_inequality
from sympy.simplify.radsimp import fraction
from sympy.sets.sets import Set, FiniteSet, Union, Interval
from sympy.sets.conditionset import ConditionSet
from sympy.sets.fancysets import ImageSet
from sympy.functions.elementary.complexes import conjugate
from sympy.calculus.util import function_range
from sympy.functions.elementary.integers import floor


def optimize(f, conditions: list) -> RealNumber:
    pass
